<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="/css/reset.css">
    <link rel="stylesheet" type="text/css" href="/css/iconfont.css">
    <link rel="stylesheet" type="text/css" href="/css/common.css">
    <title>我</title>
  </head>
  <body>
    <div class="header_fixed">
        <div class="h_btn_left" onclick="javascript:history.go(-1)">
          <i class="icon-fanhui"></i>返回
        </div>
        <div class="top-title">
          个人中心
        </div>
        <div class="h_btn_right" onclick="javascript:location.href='/logout'">
          退出
        </div>
    </div>
    <div class="user_box">
      <p class="nickname"><%= data['datas']['nick'] %></p>
      <img class="head_pic" src="<%= data['datas']['head_pic'] %>" onerror="this.src='/img/head_def.png'" alt="">
      <div class="flex-box user_data">
        <div class="flex-1">
          笔记数量
          <p><%= data['datas']['counts'] %>篇</p>
        </div>
        <div class="flex-1">
          上次登录
          <p><%= util.num2time(data['datas']['last_login'])  %> </p>
        </div>
        <div class="flex-1">
          账号状态
          <p>已绑定</p>
        </div>
      </div>
      <!-- <%= JSON.stringify( data['datas']) %> -->
    </div>

    <div class="footer_fixed">
      <div class="footer_item part_3">
        <a href="/"><i class="icon-home"></i></a>
      </div>
      <div class="footer_item part_3" onclick="show_addtxt()">
        <a href="/about"><i class="icon-about"></i></a>
      </div>
      <div class="footer_item part_3">
        <a href="/me"><i class="icon-user"></i></a>
      </div>
    </div>
  </body>
</html>
